<div id="sidebar">
	<ul class="sidebar_list">
		<li class="widget">
			<h2>Search It!</h2>
			<?php include (TEMPLATEPATH . '/searchform.php'); ?>
		</li>

<?php if ( is_human() ) : ?>
<li class="widget">
<div style="border:solid 0px #FFCC99;padding:10px;-moz-box-shadow:rgba(200,200,200,1) 0 4px 18px;-webkit-box-shadow:rgba(200,200,200,1) 0 4px 18px;-khtml-box-shadow:rgba(200,200,200,1) 0 4px 18px;box-shadow:rgba(200,200,200,1) 0 4px 18px;">
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id(); ?>";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066FF";
google_color_url = "808080";
google_color_text = "808080";;
//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</li>
<?php endif; ?>

		<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) : ?>
		<li class="widget">
			<h2>Recent Entries</h2>
			<ul>
				<?php query_posts('showposts=10'); ?>
				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
				<li><a href="<?php the_permalink() ?>"><?php the_title() ?></a><span class="recent_date"><?php the_time('n.j') ?></span></li>
				<?php endwhile; endif; ?>
			</ul>
		</li>
		<li class="widget">
			<h2>Links</h2>
			<ul>
				<?php get_links(-1, '<li class="snap_preview">', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, TRUE); ?>
			</ul>
		</li>
		<?php endif; ?>
	</ul>
</div>